/*
 * @Author: Drc
 * @Date: 2020-12-15 13:38:22
 * @LastEditTime: 2021-09-24 10:25:31
 * @LastEditors: Drc
 */
import React, {useLayoutEffect} from 'react'
import {useSelector} from 'react-redux'
import {} from 'react-native'
import {RouteProps} from '@path/navigation/controller'
import Locale from '@path/locale'
import {RootState} from '@path/redux'
import _ from 'lodash'
import {Container} from '@path/components/ThemeComponents'

export interface UserParams {}
const User = (props: RouteProps<'User'>) => {
  const global = useSelector(
    (state: RootState) => state.global,
    (prev, next) => _.isEqual(prev, next),
  )

  useLayoutEffect(() => {
    props.navigation.setOptions({
      title: '',
    })
  }, [props.navigation, global])

  return <Container></Container>
}

export default User
